package com.um.jdy.common.charge.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 订单结束原因
 *
 * @author 邓南辉
 * @date 2020/9/19 09:37
 */
public class OrderStopReason {

    @Getter
    @AllArgsConstructor
    public enum EB{
        USER_END("用户结束"),
        TIMEEND("计时结束"),
        FULLEND ("充满自停"),
        BREAK("插头拨出"),
        NO_LOAD("未插插头"),
        OVERLOAD_CANCEL("功率过大"),
        ERROR("端口异常"),
        HIGH_TEMP("高温报警"),
        USER_CANCEL("用户取消"),
        PLATFORM_CANCEL("平台取消"),
        OFFLINE_USER_END("离线用户结束"),
        ADMIN_END ("管理员结束"),
        SYS_END ("系统结束"),
        POWER_OVERLOAD("功率超出费率"),
        POWER_LACK_BALANCE("功率变大余额不足"),
        OFFLINE_SYS_END("离线到时系统结束"),
        COMMAND("指令结束"),
        OTHER("其他"),
        HEART("心跳结束"),
        NO_BALANCE("余额用完");

        private String value;
    }

    @Getter
    @AllArgsConstructor
    public enum PB{
        USER_RETURN("用户归还"),
        OVERTIME("超时结束"),
        OVERTIME_UNSTART("超时未启动"),
        BUYED ("买断充电宝"),
        OTHER("其他")
        ;

        private String value;
    }

    @Getter
    @AllArgsConstructor
    public enum EBox{
        USER_END("用户结束"),
        TIMEEND("计时结束"),
        FULLEND ("充满自停"),
        BREAK("插头拨出"),
        OVERLOAD_CANCEL("功率过大"),
        ERROR("端口异常"),
        HIGH_TEMP("高温报警"),
        USER_CANCEL("用户取消"),
        PLATFORM_CANCEL("平台取消"),
        OFFLINE_USER_END("离线用户结束"),
        ADMIN_END ("管理员结束"),
        SYS_END ("系统结束"),
        POWER_OVERLOAD("功率超出费率"),
        POWER_LACK_BALANCE("功率变大余额不足"),
        OFFLINE_SYS_END("离线到时系统结束"),
        COMMAND("指令结束"),
        OTHER("其他"),
        HEART("心跳结束");

        private String value;
    }


    @Getter
    @AllArgsConstructor
    public enum EV{
        USER_END("用户结束"),
        USER_CANCEL("用户取消"),
        PLATFORM_CANCEL("平台取消"),
        OFFLINE_USER_END("离线用户结束"),
        ADMIN_END ("管理员结束"),
        SYS_END ("系统结束"),
        OFFLINE_SYS_END("离线到时系统结束"),
        FULL_END("充满停止"),
        CAPACITY_END("电量达标"),
        AMOUNT_END("金额达标"),
        TIME_END("计时结束"),
        LOCAL("本地停止"),
        NO_BALANCE("余额不足"),
        OTHER("其他原因");

        private String value;
    }


}
